<template>
    <div>
        <button @click="goLogin">登录</button>
    </div>
</template>

<script>
    export default {
        methods:{
            goLogin(){
                this.$router.push({
                    name:'login'
                })
            }
        }
    }
</script>

<style lang="scss" scoped>

</style>